package com.bw.a1908.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Transient;
import org.greenrobot.greendao.annotation.Generated;

//关联表
@Entity
public class VideoBean {

    //主键
    @Id
    public Long id;
    @NotNull
    public String authname;
    public String sex;
    public String publishtime;
    public String caption;
    public String view_count;
    public String like_count;
    public String headpath;
    public String videopath;
    public String videomainimg;
    public Integer channelid;
    public String channelname;
    @Transient
    public int height;
    //忽略字段
    @Transient
    public Integer userid;
    @Generated(hash = 1997383769)
    public VideoBean(Long id, @NotNull String authname, String sex,
            String publishtime, String caption, String view_count,
            String like_count, String headpath, String videopath,
            String videomainimg, Integer channelid, String channelname) {
        this.id = id;
        this.authname = authname;
        this.sex = sex;
        this.publishtime = publishtime;
        this.caption = caption;
        this.view_count = view_count;
        this.like_count = like_count;
        this.headpath = headpath;
        this.videopath = videopath;
        this.videomainimg = videomainimg;
        this.channelid = channelid;
        this.channelname = channelname;
    }
    @Generated(hash = 2024490299)
    public VideoBean() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getAuthname() {
        return this.authname;
    }
    public void setAuthname(String authname) {
        this.authname = authname;
    }
    public String getSex() {
        return this.sex;
    }
    public void setSex(String sex) {
        this.sex = sex;
    }
    public String getPublishtime() {
        return this.publishtime;
    }
    public void setPublishtime(String publishtime) {
        this.publishtime = publishtime;
    }
    public String getCaption() {
        return this.caption;
    }
    public void setCaption(String caption) {
        this.caption = caption;
    }
    public String getView_count() {
        return this.view_count;
    }
    public void setView_count(String view_count) {
        this.view_count = view_count;
    }
    public String getLike_count() {
        return this.like_count;
    }
    public void setLike_count(String like_count) {
        this.like_count = like_count;
    }
    public String getHeadpath() {
        return this.headpath;
    }
    public void setHeadpath(String headpath) {
        this.headpath = headpath;
    }
    public String getVideopath() {
        return this.videopath;
    }
    public void setVideopath(String videopath) {
        this.videopath = videopath;
    }
    public String getVideomainimg() {
        return this.videomainimg;
    }
    public void setVideomainimg(String videomainimg) {
        this.videomainimg = videomainimg;
    }
    public Integer getChannelid() {
        return this.channelid;
    }
    public void setChannelid(Integer channelid) {
        this.channelid = channelid;
    }
    public String getChannelname() {
        return this.channelname;
    }
    public void setChannelname(String channelname) {
        this.channelname = channelname;
    }
   
}
